CVE-2026-39816
Apache NiFi: Missing Execute Code Required Permission on TinkerpopClientService
Description
The optional extension component TinkerpopClientService is missing the Restricted annotation with the Execute Code Required Permission in Apache NiFi 2.0.0-M1 through 2.8.0. The TinkerpopClientService supports configuration of ByteCode Submission for the Script Submission Type, enabling Groovy Script execution in the service prior to submitting the query. The missing Restricted annotation allows users without the Execute Code Permission to configure the Service in installations that use fine-grained authorization and have the optional TinkerpopClientService installed. Apache NiFi installations that do not have the nifi-other-graph-services-nar installed are not subject to this vulnerability. Upgrading to Apache NiFi 2.9.0 is the recommended mitigation.
INFO
Published Date :
May 8, 2026, 2:16 p.m.
Last Modified :
May 9, 2026, 2:16 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | HIGH | f0158376-9dc2-43b6-827c-5f631a4d8d09 | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Upgrade Apache NiFi to version 2.9.0.
- Ensure the TinkerpopClientService is configured securely.
- Apply the latest security patches for Apache NiFi.
Public PoC/Exploit Available at Github
CVE-2026-39816 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-39816.
| URL | Resource |
|---|---|
| https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb | Mailing List Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/04/13/8 | Mailing List Third Party Advisory |
| https://zeropath.com/blog/nifi-cve-2026-39816-privesc-rce |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-39816 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-39816
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
POC for CVE-2026-39816 which allows NiFi users without execute code permissions to run arbitrary scripts
Python Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-39816 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-39816 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
May. 09, 2026
Action Type Old Value New Value Added Reference https://zeropath.com/blog/nifi-cve-2026-39816-privesc-rce -
Initial Analysis by [email protected]
May. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.9.0 Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/04/13/8 Types: Mailing List, Third Party Advisory Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb Types: Mailing List, Vendor Advisory -
New CVE Received by [email protected]
May. 08, 2026
Action Type Old Value New Value Added Description The optional extension component TinkerpopClientService is missing the Restricted annotation with the Execute Code Required Permission in Apache NiFi 2.0.0-M1 through 2.8.0. The TinkerpopClientService supports configuration of ByteCode Submission for the Script Submission Type, enabling Groovy Script execution in the service prior to submitting the query. The missing Restricted annotation allows users without the Execute Code Permission to configure the Service in installations that use fine-grained authorization and have the optional TinkerpopClientService installed. Apache NiFi installations that do not have the nifi-other-graph-services-nar installed are not subject to this vulnerability. Upgrading to Apache NiFi 2.9.0 is the recommended mitigation. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:I/V:C/RE:L/U:Green Added CWE CWE-862 Added Reference https://lists.apache.org/thread/gh9g7xwvv4l20gzff6q3367snf35ctcb -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
May. 08, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/04/13/8